package com.cloudptt.wp.ui.views;

import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.annotation.SuppressLint;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.widget.Button;

@SuppressLint("AppCompatCustomView")
public class AnimButton extends Button {
    private static final float FROM_VALUE = 1.0f;
    private static final float TO_VALUE = 0.1f;
    private static final float ALPHA_VALUE = 0.1f;
    private AnimatorSet animatorSet = new AnimatorSet();

    public AnimButton(Context context) {
        super(context);
        init();
    }

    public AnimButton(Context context, AttributeSet attrs) {
        super(context, attrs);
        init();
    }

    public AnimButton(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        init();
    }

    public AnimButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
        super(context, attrs, defStyleAttr, defStyleRes);
        init();
    }

    private void init() {
        setClickable(true);
    }

}
